package com.shop.zzh.mbg.mapper;

import com.shop.zzh.entity.User;
import com.shop.zzh.mbg.mapper.base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @program: shop
 * @description: s
 * @author: zhuzh
 * @create: 2019-11-19 20:23
 **/
@Mapper
@Repository
public interface UserMapper extends BaseMapper<User> {
	User login(User user);

	void register(User user);

	User selectOnByUserName(@Param("userName") String userName);
}
